//导入http文件中的request
import request from "./http"
//获取视频文章详情
//https://apis.netstart.cn/xpc/article/11757597
export function getVideo(aid:any){
    return request({
        url:"article/"+aid,
        method: "get",
        // params
    })
}
//获取视频文章建议详情
export function getVideoMid(mid:any){
    return request({
        url:"media/"+mid,
        method: "get",
        // params
    })
}
//获取视频详情相关视频
//https://apis.netstart.cn/xpc/article/11757597/next
export function getArticleNext(aid:any){
    return request({
        url:"article/"+aid+'/next',
        method: "get",
        // params
    })
}
//获取视频详情的评论
//https://apis.netstart.cn/xpc/comments?resource_id=10365113
export function getArticleNextComment(params:any){
    return request({
        url:"comments",
        method: "get",
        params
    })
}